LIBPATH += -L"/System/Library/Frameworks/OpenGL.framework/Libraries"

FRAMEWORK = -framework GLUT
FRAMEWORK += -framework OpenGL 

CC = g++ 
LIBRARIES = -lGL -lGLU -lm -lobjc -lstdc++ 

OBJECTS = fly.o landscape.o

all: fly

fly: fly.o landscape.o 
	$(CC) $(FRAMEWORK) -o $@ $(LIBPATH) $(OBJECTS)
	
clean: 
	rm -rf *.o fly